﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IDatabaseLoader.cs" company="Marcin Jastrzebski">
//   Copyright (c) Marcin Jastrzebski (marcin@marcinj.net)
// </copyright>
// <summary>
//   The DatabaseManager interface.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace mPassRT.Services
{
    using System.Threading.Tasks;

    using KeePassLib;

    /// <summary>The DatabaseManager interface.</summary>
    public interface IDatabaseLoader
    {
        #region Public Methods and Operators

        /// <summary>Loads a database and returns it.</summary>
        /// <param name="file">The file.</param>
        /// <returns>The access token.</returns>
        Task<PwDatabase> GetDatabaseAsync(string file);

        #endregion
    }
}